package com.example.model.entity.appointment;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import springfox.documentation.annotations.ApiIgnore;

import java.util.Date;

/**
 * 就诊记录表
*/
@Data
@ApiModel(description = "就诊记录信息")
public class Record {
    /** ID */
    @ApiModelProperty(hidden = true,value = "ID")
    private Integer id;
    /** 患者ID */
    @ApiModelProperty(value = "患者ID")
    private Integer userId;
    private String userName;
    /** 预约信息ID */
    @ApiModelProperty(value = "预约信息ID")
    private Integer reservationId;
    /** 就诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "就诊日期")
    private Date recordData;
    /** 医嘱病例 */
    @ApiModelProperty(value = "医嘱病例")
    private String medicalRecord;
    /** 是否住院 */
    @ApiModelProperty(value = "是否住院")
    private String isHospital;
    /** 是否住院登记 */
    @ApiModelProperty(value = "是否住院登记")
    private String isHospitalRecord;
    private Integer hospitalId;
    private Integer doctorId;


}
